<?php
/**
 * Created by PhpStorm.
 * User: yxs
 * Date: 2017/4/18
 * Time: 15:26
 */

namespace model;

use think\Model;

class AccountRole extends Model
{
    protected $insert = ['add_time'];
    protected $update = ['update_time'];

    public function setAddTimeAttr(){
        return time();
    }

    public function setUpdateTimeAttr(){
        return time();
    }
}